%%{init: {'themeVariables': { 'fontSize': '12px'}}}%%
graph TD
    classDef path fill:#eee,stroke:#000,color:#000
    classDef plan fill:#fff,stroke-width:1px,color:#000
    classDef itemplan fill:#fff,stroke-width:2px,color:#000
    classDef unbatchedplan fill:#dff,stroke-width:1px,color:#000
    classDef sideeffectplan fill:#fcc,stroke-width:2px,color:#000
    classDef bucket fill:#f6f6f6,color:#000,stroke-width:2px,text-align:left

    subgraph "Buckets for mutations/basics/create-three-relational-posts"
    Bucket0("Bucket 0 (root)"):::bucket
    Bucket1("Bucket 1 (mutationField)<br />Deps: 11, 6, 7, 14, 15, 16, 2, 27, 28, 39, 40, 223, 224, 225, 4<br /><br />1: PgInsertSingle[8]<br />2: Access[18]<br />3: Access[19]<br />4: Object[20]<br />5: Access[13]<br />6: PgClassExpression[12]<br />7: PgInsertSingle[17]<br />8: Access[22]<br />9: Access[23]<br />10: Object[24]<br />11: PgInsertSingle[21]<br />12: Access[30]<br />13: Access[31]<br />14: Object[32]<br />15: Access[26]<br />16: PgClassExpression[25]<br />17: PgInsertSingle[29]<br />18: Access[34]<br />19: Access[35]<br />20: Object[36]<br />21: PgInsertSingle[33]<br />22: Access[42]<br />23: Access[43]<br />24: Object[44]<br />25: Access[38]<br />26: PgClassExpression[37]<br />27: PgInsertSingle[41]<br />28: <br />ᐳ: Access[46], PgClassExpression[45]"):::bucket
    Bucket2("Bucket 2 (nullableBoundary)<br />Deps: 223, 41, 2, 224, 225, 45, 4<br /><br />ROOT PgClassExpression{1}ᐸ__relational_posts__ᐳ[45]<br />1: <br />ᐳ: Access[49], Access[50], Object[51]<br />2: 48, 56, 62<br />3: 53, 59, 65<br />ᐳ: 52, 54, 58, 60, 64, 66, 67, 69, 70, 111, 113, 114, 155, 157, 158"):::bucket
    Bucket3("Bucket 3 (nullableBoundary)<br />Parent side effect step: 41<br />Deps: 4, 41, 70, 114, 158, 51, 67, 111, 155<br /><br />ROOT __ValueᐸrootValueᐳ[4]"):::bucket
    Bucket4("Bucket 4 (polymorphic)<br />__typename: Lambda[70]<br />Parent side effect step: 41<br />Deps: 70, 51, 67, 41"):::bucket
    Bucket5("Bucket 5 (polymorphic)<br />__typename: Lambda[114]<br />Parent side effect step: 41<br />Deps: 114, 51, 111, 41"):::bucket
    Bucket6("Bucket 6 (polymorphic)<br />__typename: Lambda[158]<br />Parent side effect step: 41<br />Deps: 158, 51, 155, 41"):::bucket
    Bucket7("Bucket 7 (polymorphicPartition)<br />|RelationalTopic<br />Parent side effect step: 41<br />Deps: 51, 67, 41<br />ᐳRelationalTopic<br /><br />1: PgSelect[72]<br />2: PgSelectRows[77]<br />ᐳ: First[76], PgSelectSingle[78]"):::bucket
    Bucket8("Bucket 8 (polymorphicPartition)<br />|RelationalPost<br />Parent side effect step: 41<br />Deps: 51, 67, 41<br />ᐳRelationalPost<br /><br />1: PgSelect[80]<br />2: PgSelectRows[85]<br />ᐳ: 84, 86, 214, 217, 220"):::bucket
    Bucket9("Bucket 9 (polymorphicPartition)<br />|RelationalDivider<br />Parent side effect step: 41<br />Deps: 51, 67, 41<br />ᐳRelationalDivider<br /><br />1: PgSelect[88]<br />2: PgSelectRows[93]<br />ᐳ: First[92], PgSelectSingle[94]"):::bucket
    Bucket10("Bucket 10 (polymorphicPartition)<br />|RelationalChecklist<br />Parent side effect step: 41<br />Deps: 51, 67, 41<br />ᐳRelationalChecklist<br /><br />1: PgSelect[96]<br />2: PgSelectRows[101]<br />ᐳ: First[100], PgSelectSingle[102]"):::bucket
    Bucket11("Bucket 11 (polymorphicPartition)<br />|RelationalChecklistItem<br />Parent side effect step: 41<br />Deps: 51, 67, 41<br />ᐳRelationalChecklistItem<br /><br />1: PgSelect[104]<br />2: PgSelectRows[109]<br />ᐳ: First[108], PgSelectSingle[110]"):::bucket
    Bucket12("Bucket 12 (polymorphicPartition)<br />|RelationalTopic<br />Parent side effect step: 41<br />Deps: 51, 111, 41<br />ᐳRelationalTopic<br /><br />1: PgSelect[116]<br />2: PgSelectRows[121]<br />ᐳ: First[120], PgSelectSingle[122]"):::bucket
    Bucket13("Bucket 13 (polymorphicPartition)<br />|RelationalPost<br />Parent side effect step: 41<br />Deps: 51, 111, 41<br />ᐳRelationalPost<br /><br />1: PgSelect[124]<br />2: PgSelectRows[129]<br />ᐳ: 128, 130, 215, 218, 221"):::bucket
    Bucket14("Bucket 14 (polymorphicPartition)<br />|RelationalDivider<br />Parent side effect step: 41<br />Deps: 51, 111, 41<br />ᐳRelationalDivider<br /><br />1: PgSelect[132]<br />2: PgSelectRows[137]<br />ᐳ: First[136], PgSelectSingle[138]"):::bucket
    Bucket15("Bucket 15 (polymorphicPartition)<br />|RelationalChecklist<br />Parent side effect step: 41<br />Deps: 51, 111, 41<br />ᐳRelationalChecklist<br /><br />1: PgSelect[140]<br />2: PgSelectRows[145]<br />ᐳ: First[144], PgSelectSingle[146]"):::bucket
    Bucket16("Bucket 16 (polymorphicPartition)<br />|RelationalChecklistItem<br />Parent side effect step: 41<br />Deps: 51, 111, 41<br />ᐳRelationalChecklistItem<br /><br />1: PgSelect[148]<br />2: PgSelectRows[153]<br />ᐳ: First[152], PgSelectSingle[154]"):::bucket
    Bucket17("Bucket 17 (polymorphicPartition)<br />|RelationalTopic<br />Parent side effect step: 41<br />Deps: 51, 155, 41<br />ᐳRelationalTopic<br /><br />1: PgSelect[160]<br />2: PgSelectRows[165]<br />ᐳ: First[164], PgSelectSingle[166]"):::bucket
    Bucket18("Bucket 18 (polymorphicPartition)<br />|RelationalPost<br />Parent side effect step: 41<br />Deps: 51, 155, 41<br />ᐳRelationalPost<br /><br />1: PgSelect[168]<br />2: PgSelectRows[173]<br />ᐳ: 172, 174, 216, 219, 222"):::bucket
    Bucket19("Bucket 19 (polymorphicPartition)<br />|RelationalDivider<br />Parent side effect step: 41<br />Deps: 51, 155, 41<br />ᐳRelationalDivider<br /><br />1: PgSelect[176]<br />2: PgSelectRows[181]<br />ᐳ: First[180], PgSelectSingle[182]"):::bucket
    Bucket20("Bucket 20 (polymorphicPartition)<br />|RelationalChecklist<br />Parent side effect step: 41<br />Deps: 51, 155, 41<br />ᐳRelationalChecklist<br /><br />1: PgSelect[184]<br />2: PgSelectRows[189]<br />ᐳ: First[188], PgSelectSingle[190]"):::bucket
    Bucket21("Bucket 21 (polymorphicPartition)<br />|RelationalChecklistItem<br />Parent side effect step: 41<br />Deps: 51, 155, 41<br />ᐳRelationalChecklistItem<br /><br />1: PgSelect[192]<br />2: PgSelectRows[197]<br />ᐳ: First[196], PgSelectSingle[198]"):::bucket
    end
    Bucket0 --> Bucket1
    Bucket1 --> Bucket2
    Bucket2 --> Bucket3
    Bucket3 --> Bucket4 & Bucket5 & Bucket6
    Bucket4 --> Bucket7 & Bucket8 & Bucket9 & Bucket10 & Bucket11
    Bucket5 --> Bucket12 & Bucket13 & Bucket14 & Bucket15 & Bucket16
    Bucket6 --> Bucket17 & Bucket18 & Bucket19 & Bucket20 & Bucket21

    %% plan dependencies
    Object11{{"Object[11∈0] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Access9{{"Access[9∈0] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access10{{"Access[10∈0] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access9 & Access10 --> Object11
    __Value2["__Value[2∈0] ➊<br />ᐸcontextᐳ<br />Dependents: 14"]:::plan
    PgInsertSingle17[["PgInsertSingle[17∈1] ➊<br />ᐸrelational_posts(id,title,description,note)ᐳ<br />More deps:<br />- Constantᐸ'Post ꖛ1'ᐳ[14]<br />- Constantᐸ'Desc 1'ᐳ[15]<br />- Constantᐸnullᐳ[16]"]]:::sideeffectplan
    Object20{{"Object[20∈1] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression12{{"PgClassExpression[12∈1] ➊<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    Object20 & PgClassExpression12 --> PgInsertSingle17
    PgInsertSingle29[["PgInsertSingle[29∈1] ➊<br />ᐸrelational_posts(id,title,description,note)ᐳ<br />More deps:<br />- Constantᐸ'Post ꖛ2'ᐳ[27]<br />- Constantᐸ'Desc 2'ᐳ[28]<br />- Constantᐸnullᐳ[16]"]]:::sideeffectplan
    Object32{{"Object[32∈1] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression25{{"PgClassExpression[25∈1] ➊<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    Object32 & PgClassExpression25 --> PgInsertSingle29
    PgInsertSingle41[["PgInsertSingle[41∈1] ➊<br />ᐸrelational_posts(id,title,description,note)ᐳ<br />More deps:<br />- Constantᐸ'Post ꖛ3'ᐳ[39]<br />- Constantᐸ'Desc 3'ᐳ[40]<br />- Constantᐸnullᐳ[16]"]]:::sideeffectplan
    Object44{{"Object[44∈1] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression37{{"PgClassExpression[37∈1] ➊<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    Object44 & PgClassExpression37 --> PgInsertSingle41
    PgInsertSingle8[["PgInsertSingle[8∈1] ➊<br />ᐸrelational_items(type,author_id)ᐳ<br />More deps:<br />- Constantᐸ'POST'ᐳ[6]<br />- Constantᐸ2ᐳ[7]"]]:::sideeffectplan
    Object11 --> PgInsertSingle8
    PgInsertSingle21[["PgInsertSingle[21∈1] ➊<br />ᐸrelational_items(type,author_id)ᐳ<br />More deps:<br />- Constantᐸ'POST'ᐳ[6]<br />- Constantᐸ2ᐳ[7]"]]:::sideeffectplan
    Object24{{"Object[24∈1] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Object24 --> PgInsertSingle21
    PgInsertSingle33[["PgInsertSingle[33∈1] ➊<br />ᐸrelational_items(type,author_id)ᐳ<br />More deps:<br />- Constantᐸ'POST'ᐳ[6]<br />- Constantᐸ2ᐳ[7]"]]:::sideeffectplan
    Object36{{"Object[36∈1] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Object36 --> PgInsertSingle33
    Access18{{"Access[18∈1] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access19{{"Access[19∈1] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access18 & Access19 --> Object20
    Access22{{"Access[22∈1] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access23{{"Access[23∈1] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access22 & Access23 --> Object24
    Access30{{"Access[30∈1] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access31{{"Access[31∈1] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access30 & Access31 --> Object32
    Access34{{"Access[34∈1] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access35{{"Access[35∈1] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access34 & Access35 --> Object36
    Access42{{"Access[42∈1] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access43{{"Access[43∈1] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access42 & Access43 --> Object44
    Access13{{"Access[13∈1] ➊<br />ᐸ8.tᐳ"}}:::plan
    Access13 --> PgClassExpression12
    PgInsertSingle8 --> Access13
    Access26{{"Access[26∈1] ➊<br />ᐸ21.tᐳ"}}:::plan
    Access26 --> PgClassExpression25
    PgInsertSingle21 --> Access26
    Access38{{"Access[38∈1] ➊<br />ᐸ33.tᐳ"}}:::plan
    Access38 --> PgClassExpression37
    PgInsertSingle33 --> Access38
    PgClassExpression45{{"PgClassExpression[45∈1] ➊<br />ᐸ__relational_posts__ᐳ"}}:::plan
    Access46{{"Access[46∈1] ➊<br />ᐸ41.tᐳ"}}:::plan
    Access46 --> PgClassExpression45
    PgInsertSingle41 --> Access46
    PgSelect48[["PgSelect[48∈2] ➊<br />ᐸrelational_itemsᐳ<br />More deps:<br />- Constantᐸ1000000ᐳ[223]"]]:::plan
    Object51{{"Object[51∈2] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Object51 --> PgSelect48
    Access49{{"Access[49∈2] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access50{{"Access[50∈2] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access49 & Access50 --> Object51
    PgSelect56[["PgSelect[56∈2] ➊<br />ᐸrelational_itemsᐳ<br />More deps:<br />- Constantᐸ1000001ᐳ[224]"]]:::plan
    Object51 --> PgSelect56
    PgSelect62[["PgSelect[62∈2] ➊<br />ᐸrelational_itemsᐳ<br />More deps:<br />- Constantᐸ1000002ᐳ[225]"]]:::plan
    Object51 --> PgSelect62
    First52{{"First[52∈2] ➊"}}:::plan
    PgSelectRows53[["PgSelectRows[53∈2] ➊"]]:::plan
    PgSelectRows53 --> First52
    PgSelect48 --> PgSelectRows53
    PgSelectSingle54{{"PgSelectSingle[54∈2] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    First52 --> PgSelectSingle54
    First58{{"First[58∈2] ➊"}}:::plan
    PgSelectRows59[["PgSelectRows[59∈2] ➊"]]:::plan
    PgSelectRows59 --> First58
    PgSelect56 --> PgSelectRows59
    PgSelectSingle60{{"PgSelectSingle[60∈2] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    First58 --> PgSelectSingle60
    First64{{"First[64∈2] ➊"}}:::plan
    PgSelectRows65[["PgSelectRows[65∈2] ➊"]]:::plan
    PgSelectRows65 --> First64
    PgSelect62 --> PgSelectRows65
    PgSelectSingle66{{"PgSelectSingle[66∈2] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    First64 --> PgSelectSingle66
    PgClassExpression67{{"PgClassExpression[67∈2] ➊<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    PgSelectSingle54 --> PgClassExpression67
    PgClassExpression69{{"PgClassExpression[69∈2] ➊<br />ᐸ__relation...s__.”type”ᐳ"}}:::plan
    PgSelectSingle54 --> PgClassExpression69
    Lambda70{{"Lambda[70∈2] ➊<br />ᐸrelationalItemTypeNameFromTypeᐳ"}}:::plan
    PgClassExpression69 --> Lambda70
    PgClassExpression111{{"PgClassExpression[111∈2] ➊<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    PgSelectSingle60 --> PgClassExpression111
    PgClassExpression113{{"PgClassExpression[113∈2] ➊<br />ᐸ__relation...s__.”type”ᐳ"}}:::plan
    PgSelectSingle60 --> PgClassExpression113
    Lambda114{{"Lambda[114∈2] ➊<br />ᐸrelationalItemTypeNameFromTypeᐳ"}}:::plan
    PgClassExpression113 --> Lambda114
    PgClassExpression155{{"PgClassExpression[155∈2] ➊<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    PgSelectSingle66 --> PgClassExpression155
    PgClassExpression157{{"PgClassExpression[157∈2] ➊<br />ᐸ__relation...s__.”type”ᐳ"}}:::plan
    PgSelectSingle66 --> PgClassExpression157
    Lambda158{{"Lambda[158∈2] ➊<br />ᐸrelationalItemTypeNameFromTypeᐳ"}}:::plan
    PgClassExpression157 --> Lambda158
    PgSelect72[["PgSelect[72∈7] ➊<br />ᐸrelational_topicsᐳ<br />ᐳRelationalTopic"]]:::plan
    Object51 & PgClassExpression67 --> PgSelect72
    First76{{"First[76∈7] ➊^"}}:::plan
    PgSelectRows77[["PgSelectRows[77∈7] ➊^"]]:::plan
    PgSelectRows77 --> First76
    PgSelect72 --> PgSelectRows77
    PgSelectSingle78{{"PgSelectSingle[78∈7] ➊^<br />ᐸrelational_topicsᐳ"}}:::plan
    First76 --> PgSelectSingle78
    PgSelect80[["PgSelect[80∈8] ➊<br />ᐸrelational_postsᐳ<br />ᐳRelationalPost"]]:::plan
    Object51 & PgClassExpression67 --> PgSelect80
    First84{{"First[84∈8] ➊^"}}:::plan
    PgSelectRows85[["PgSelectRows[85∈8] ➊^"]]:::plan
    PgSelectRows85 --> First84
    PgSelect80 --> PgSelectRows85
    PgSelectSingle86{{"PgSelectSingle[86∈8] ➊^<br />ᐸrelational_postsᐳ"}}:::plan
    First84 --> PgSelectSingle86
    PgClassExpression214{{"PgClassExpression[214∈8] ➊^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle86 --> PgClassExpression214
    PgClassExpression217{{"PgClassExpression[217∈8] ➊^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression214 o--o PgClassExpression217
    PgClassExpression220{{"PgClassExpression[220∈8] ➊^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression217 o--o PgClassExpression220
    PgSelect88[["PgSelect[88∈9] ➊<br />ᐸrelational_dividersᐳ<br />ᐳRelationalDivider"]]:::plan
    Object51 & PgClassExpression67 --> PgSelect88
    First92{{"First[92∈9] ➊^"}}:::plan
    PgSelectRows93[["PgSelectRows[93∈9] ➊^"]]:::plan
    PgSelectRows93 --> First92
    PgSelect88 --> PgSelectRows93
    PgSelectSingle94{{"PgSelectSingle[94∈9] ➊^<br />ᐸrelational_dividersᐳ"}}:::plan
    First92 --> PgSelectSingle94
    PgSelect96[["PgSelect[96∈10] ➊<br />ᐸrelational_checklistsᐳ<br />ᐳRelationalChecklist"]]:::plan
    Object51 & PgClassExpression67 --> PgSelect96
    First100{{"First[100∈10] ➊^"}}:::plan
    PgSelectRows101[["PgSelectRows[101∈10] ➊^"]]:::plan
    PgSelectRows101 --> First100
    PgSelect96 --> PgSelectRows101
    PgSelectSingle102{{"PgSelectSingle[102∈10] ➊^<br />ᐸrelational_checklistsᐳ"}}:::plan
    First100 --> PgSelectSingle102
    PgSelect104[["PgSelect[104∈11] ➊<br />ᐸrelational_checklist_itemsᐳ<br />ᐳRelationalChecklistItem"]]:::plan
    Object51 & PgClassExpression67 --> PgSelect104
    First108{{"First[108∈11] ➊^"}}:::plan
    PgSelectRows109[["PgSelectRows[109∈11] ➊^"]]:::plan
    PgSelectRows109 --> First108
    PgSelect104 --> PgSelectRows109
    PgSelectSingle110{{"PgSelectSingle[110∈11] ➊^<br />ᐸrelational_checklist_itemsᐳ"}}:::plan
    First108 --> PgSelectSingle110
    PgSelect116[["PgSelect[116∈12] ➊<br />ᐸrelational_topicsᐳ<br />ᐳRelationalTopic"]]:::plan
    Object51 & PgClassExpression111 --> PgSelect116
    First120{{"First[120∈12] ➊^"}}:::plan
    PgSelectRows121[["PgSelectRows[121∈12] ➊^"]]:::plan
    PgSelectRows121 --> First120
    PgSelect116 --> PgSelectRows121
    PgSelectSingle122{{"PgSelectSingle[122∈12] ➊^<br />ᐸrelational_topicsᐳ"}}:::plan
    First120 --> PgSelectSingle122
    PgSelect124[["PgSelect[124∈13] ➊<br />ᐸrelational_postsᐳ<br />ᐳRelationalPost"]]:::plan
    Object51 & PgClassExpression111 --> PgSelect124
    First128{{"First[128∈13] ➊^"}}:::plan
    PgSelectRows129[["PgSelectRows[129∈13] ➊^"]]:::plan
    PgSelectRows129 --> First128
    PgSelect124 --> PgSelectRows129
    PgSelectSingle130{{"PgSelectSingle[130∈13] ➊^<br />ᐸrelational_postsᐳ"}}:::plan
    First128 --> PgSelectSingle130
    PgClassExpression215{{"PgClassExpression[215∈13] ➊^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle130 --> PgClassExpression215
    PgClassExpression218{{"PgClassExpression[218∈13] ➊^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression215 o--o PgClassExpression218
    PgClassExpression221{{"PgClassExpression[221∈13] ➊^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression218 o--o PgClassExpression221
    PgSelect132[["PgSelect[132∈14] ➊<br />ᐸrelational_dividersᐳ<br />ᐳRelationalDivider"]]:::plan
    Object51 & PgClassExpression111 --> PgSelect132
    First136{{"First[136∈14] ➊^"}}:::plan
    PgSelectRows137[["PgSelectRows[137∈14] ➊^"]]:::plan
    PgSelectRows137 --> First136
    PgSelect132 --> PgSelectRows137
    PgSelectSingle138{{"PgSelectSingle[138∈14] ➊^<br />ᐸrelational_dividersᐳ"}}:::plan
    First136 --> PgSelectSingle138
    PgSelect140[["PgSelect[140∈15] ➊<br />ᐸrelational_checklistsᐳ<br />ᐳRelationalChecklist"]]:::plan
    Object51 & PgClassExpression111 --> PgSelect140
    First144{{"First[144∈15] ➊^"}}:::plan
    PgSelectRows145[["PgSelectRows[145∈15] ➊^"]]:::plan
    PgSelectRows145 --> First144
    PgSelect140 --> PgSelectRows145
    PgSelectSingle146{{"PgSelectSingle[146∈15] ➊^<br />ᐸrelational_checklistsᐳ"}}:::plan
    First144 --> PgSelectSingle146
    PgSelect148[["PgSelect[148∈16] ➊<br />ᐸrelational_checklist_itemsᐳ<br />ᐳRelationalChecklistItem"]]:::plan
    Object51 & PgClassExpression111 --> PgSelect148
    First152{{"First[152∈16] ➊^"}}:::plan
    PgSelectRows153[["PgSelectRows[153∈16] ➊^"]]:::plan
    PgSelectRows153 --> First152
    PgSelect148 --> PgSelectRows153
    PgSelectSingle154{{"PgSelectSingle[154∈16] ➊^<br />ᐸrelational_checklist_itemsᐳ"}}:::plan
    First152 --> PgSelectSingle154
    PgSelect160[["PgSelect[160∈17] ➊<br />ᐸrelational_topicsᐳ<br />ᐳRelationalTopic"]]:::plan
    Object51 & PgClassExpression155 --> PgSelect160
    First164{{"First[164∈17] ➊^"}}:::plan
    PgSelectRows165[["PgSelectRows[165∈17] ➊^"]]:::plan
    PgSelectRows165 --> First164
    PgSelect160 --> PgSelectRows165
    PgSelectSingle166{{"PgSelectSingle[166∈17] ➊^<br />ᐸrelational_topicsᐳ"}}:::plan
    First164 --> PgSelectSingle166
    PgSelect168[["PgSelect[168∈18] ➊<br />ᐸrelational_postsᐳ<br />ᐳRelationalPost"]]:::plan
    Object51 & PgClassExpression155 --> PgSelect168
    First172{{"First[172∈18] ➊^"}}:::plan
    PgSelectRows173[["PgSelectRows[173∈18] ➊^"]]:::plan
    PgSelectRows173 --> First172
    PgSelect168 --> PgSelectRows173
    PgSelectSingle174{{"PgSelectSingle[174∈18] ➊^<br />ᐸrelational_postsᐳ"}}:::plan
    First172 --> PgSelectSingle174
    PgClassExpression216{{"PgClassExpression[216∈18] ➊^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle174 --> PgClassExpression216
    PgClassExpression219{{"PgClassExpression[219∈18] ➊^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression216 o--o PgClassExpression219
    PgClassExpression222{{"PgClassExpression[222∈18] ➊^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression219 o--o PgClassExpression222
    PgSelect176[["PgSelect[176∈19] ➊<br />ᐸrelational_dividersᐳ<br />ᐳRelationalDivider"]]:::plan
    Object51 & PgClassExpression155 --> PgSelect176
    First180{{"First[180∈19] ➊^"}}:::plan
    PgSelectRows181[["PgSelectRows[181∈19] ➊^"]]:::plan
    PgSelectRows181 --> First180
    PgSelect176 --> PgSelectRows181
    PgSelectSingle182{{"PgSelectSingle[182∈19] ➊^<br />ᐸrelational_dividersᐳ"}}:::plan
    First180 --> PgSelectSingle182
    PgSelect184[["PgSelect[184∈20] ➊<br />ᐸrelational_checklistsᐳ<br />ᐳRelationalChecklist"]]:::plan
    Object51 & PgClassExpression155 --> PgSelect184
    First188{{"First[188∈20] ➊^"}}:::plan
    PgSelectRows189[["PgSelectRows[189∈20] ➊^"]]:::plan
    PgSelectRows189 --> First188
    PgSelect184 --> PgSelectRows189
    PgSelectSingle190{{"PgSelectSingle[190∈20] ➊^<br />ᐸrelational_checklistsᐳ"}}:::plan
    First188 --> PgSelectSingle190
    PgSelect192[["PgSelect[192∈21] ➊<br />ᐸrelational_checklist_itemsᐳ<br />ᐳRelationalChecklistItem"]]:::plan
    Object51 & PgClassExpression155 --> PgSelect192
    First196{{"First[196∈21] ➊^"}}:::plan
    PgSelectRows197[["PgSelectRows[197∈21] ➊^"]]:::plan
    PgSelectRows197 --> First196
    PgSelect192 --> PgSelectRows197
    PgSelectSingle198{{"PgSelectSingle[198∈21] ➊^<br />ᐸrelational_checklist_itemsᐳ"}}:::plan
    First196 --> PgSelectSingle198

    %% define steps
    classDef bucket0 stroke:#696969
    class Bucket0,__Value2,Access9,Access10,Object11 bucket0
    classDef bucket1 stroke:#00bfff
    class Bucket1,PgInsertSingle8,PgClassExpression12,Access13,PgInsertSingle17,Access18,Access19,Object20,PgInsertSingle21,Access22,Access23,Object24,PgClassExpression25,Access26,PgInsertSingle29,Access30,Access31,Object32,PgInsertSingle33,Access34,Access35,Object36,PgClassExpression37,Access38,PgInsertSingle41,Access42,Access43,Object44,PgClassExpression45,Access46 bucket1
    classDef bucket2 stroke:#7f007f
    class Bucket2,PgSelect48,Access49,Access50,Object51,First52,PgSelectRows53,PgSelectSingle54,PgSelect56,First58,PgSelectRows59,PgSelectSingle60,PgSelect62,First64,PgSelectRows65,PgSelectSingle66,PgClassExpression67,PgClassExpression69,Lambda70,PgClassExpression111,PgClassExpression113,Lambda114,PgClassExpression155,PgClassExpression157,Lambda158 bucket2
    classDef bucket3 stroke:#ffa500
    class Bucket3 bucket3
    classDef bucket4 stroke:#0000ff
    class Bucket4 bucket4
    classDef bucket5 stroke:#7fff00
    class Bucket5 bucket5
    classDef bucket6 stroke:#ff1493
    class Bucket6 bucket6
    classDef bucket7 stroke:#808000
    class Bucket7,PgSelect72,First76,PgSelectRows77,PgSelectSingle78 bucket7
    classDef bucket8 stroke:#dda0dd
    class Bucket8,PgSelect80,First84,PgSelectRows85,PgSelectSingle86,PgClassExpression214,PgClassExpression217,PgClassExpression220 bucket8
    classDef bucket9 stroke:#ff0000
    class Bucket9,PgSelect88,First92,PgSelectRows93,PgSelectSingle94 bucket9
    classDef bucket10 stroke:#ffff00
    class Bucket10,PgSelect96,First100,PgSelectRows101,PgSelectSingle102 bucket10
    classDef bucket11 stroke:#00ffff
    class Bucket11,PgSelect104,First108,PgSelectRows109,PgSelectSingle110 bucket11
    classDef bucket12 stroke:#4169e1
    class Bucket12,PgSelect116,First120,PgSelectRows121,PgSelectSingle122 bucket12
    classDef bucket13 stroke:#3cb371
    class Bucket13,PgSelect124,First128,PgSelectRows129,PgSelectSingle130,PgClassExpression215,PgClassExpression218,PgClassExpression221 bucket13
    classDef bucket14 stroke:#a52a2a
    class Bucket14,PgSelect132,First136,PgSelectRows137,PgSelectSingle138 bucket14
    classDef bucket15 stroke:#ff00ff
    class Bucket15,PgSelect140,First144,PgSelectRows145,PgSelectSingle146 bucket15
    classDef bucket16 stroke:#f5deb3
    class Bucket16,PgSelect148,First152,PgSelectRows153,PgSelectSingle154 bucket16
    classDef bucket17 stroke:#696969
    class Bucket17,PgSelect160,First164,PgSelectRows165,PgSelectSingle166 bucket17
    classDef bucket18 stroke:#00bfff
    class Bucket18,PgSelect168,First172,PgSelectRows173,PgSelectSingle174,PgClassExpression216,PgClassExpression219,PgClassExpression222 bucket18
    classDef bucket19 stroke:#7f007f
    class Bucket19,PgSelect176,First180,PgSelectRows181,PgSelectSingle182 bucket19
    classDef bucket20 stroke:#ffa500
    class Bucket20,PgSelect184,First188,PgSelectRows189,PgSelectSingle190 bucket20
    classDef bucket21 stroke:#0000ff
    class Bucket21,PgSelect192,First196,PgSelectRows197,PgSelectSingle198 bucket21

    %% implicit side effects
    PgInsertSingle8 -.-o Access18
    PgInsertSingle8 -.-o Access19
    PgInsertSingle17 -.-o Access22
    PgInsertSingle17 -.-o Access23
    PgInsertSingle21 -.-o Access30
    PgInsertSingle21 -.-o Access31
    PgInsertSingle29 -.-o Access34
    PgInsertSingle29 -.-o Access35
    PgInsertSingle33 -.-o Access42
    PgInsertSingle33 -.-o Access43
    PgInsertSingle41 -.-o Access49
    PgInsertSingle41 -.-o Access50

